
<form class="well form-horizontal span8" action="<?php echo base_url() . "admin.php/rpt_becas/procesar" ?>" method="post">
    <legend>REPORTE DE BECADOS</legend>

    <div class="control-group">
        <label class="control-label" for="select01">PERIODO ACTUAL</label>
        <div class="controls ">
            <select name="ide_lec" class="span3" autofocus
                    ONCHANGE="javascript:enviar(this.options[this.selectedIndex].value, '<?php echo (base_url()) . "admin.php/rpt_becas/inicio" ?>');">
                <?php
                if ($periodo == -1)
                            echo ("<option value='-1' selected>Seleccionar Carrera</option>");
               

                foreach ($periodos as $i => $per) {
                    echo ("<option value='" . $per["ide_lec"] . "'");
                    echo (($periodo == $per["ide_lec"] ? " selected" : "") . ">");
                    echo ($per["descripcion_lec"] . "</option>");
                }
                
                ?>
            </select>

        </div>
    </div>


    <div class="control-group">
        <label class="control-label" for="select03">CARRERAS</label>
        <div class="controls ">
            <select name="ide_car" class="span3" autofocus
                    ONCHANGE="javascript:enviar1('<?php echo (base_url()) . "admin.php/rpt_becas/inicio" ?>',
                                    '<?php echo $periodo ?>', this.options[this.selectedIndex].value);">
                        <?php
                        if ($ide_car == -1)
                            echo ("<option value='-1' selected>Seleccionar Carrera</option>");
                        foreach ($carrera as $i => $car) {
                            echo ("<option value='" . $car["ide_car"] . "'");
                            echo (($ide_car == $car["ide_car"] ? " selected" : "") . ">");
                            echo ($car["nombre_car"] . "</option>");
                        }
                        ?>
            </select>

        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="select03">Lista de Pensums</label>
        <div class="controls ">
            <select id="select02" name="ide_pen" class="span3" autofocus
                    ONCHANGE="javascript:enviar2('<?php echo (base_url()) . "admin.php/rpt_becas/inicio" ?>',
                                    '<?php echo $periodo ?>', '<?php echo $ide_car ?>', this.options[this.selectedIndex].value);">
                <?php
                if ($ide_pen == -1)
                    echo ("<option value='-1' selected>Seleccionar Pensum</option>");

                foreach ($pensum as $i => $pen) {

                    echo ("<option value='" . $pen["ide_pen"] . "'");
                    echo (($ide_pen == $pen["ide_pen"] ? " selected" : "") . ">");
                    echo ($pen["descripcion_pen"] . "-" . $pen["estado_pen"] . "</option>");
                }
                ?>

            </select>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="select04">Lista de Ciclos</label>
        <div class="controls ">
            <select id="codigo_cic"  name="codigo_cic" class="span3" autofocus
                    ONCHANGE="javascript:enviar3('<?php echo (base_url()) . "admin.php/rpt_becas/inicio" ?>',
                                    '<?php echo $periodo ?>', '<?php echo $ide_car ?>', '<?php echo $ide_pen ?>',
                                    this.options[this.selectedIndex].value);">
                        <?php
                        if ($codigo_cic == -1)
                            echo ("<option value='-1' selected>Seleccionar Ciclo</option>");
                        foreach ($ciclo as $i => $cic) {
                            echo ("<option value='" . $cic["ide_cic"] . "'");
                            echo (($codigo_cic == $cic["ide_cic"] ? " selected" : "") . ">");
                            echo ($cic["codigo_cic"] . "-" . $cic["nombre_cic"] . "</option>");
                        }
                        ?>

            </select>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="select02">JORNADA DE TRABAJO</label>
        <div class="controls ">
            <select name="seccion" class="span3">
                <option value="1"  >DIURNO </option>
                <option value="2"  > NOCTURNO</option>
                <option value="3" >FINES DE SEMANA</option>

            </select>


        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="select03">PARALELO</label>
        <div class="controls ">
            <select name="paralelo" class="span1"> 
                <option value="A">A</option>
                <option value="B">B</option>
                <option value="C">C</option>

            </select>


        </div>
    </div>  


    <div class="control-group">
        <label class="control-label" for="select03">TODAS LAS SECCIONES</label>
        <div class="controls ">
         <input type="checkbox" name="listar" value="ON" />

        </div>
    </div>  





    <div class="controls">

        <button type="submit" class="btn">Crear Reporte</button>
        <a href="<?php echo base_url() . "admin.php/rpt_becas/inicio" ?>">
            <img src="<?php echo base_url(); ?>commons/images/boton_volver.gif"></a>
    </div>



</form>




